package net.sahv.bdyz.model;

import java.math.BigDecimal;
import java.util.Date;

public class Orders {
    /**
     * 订单表主键ID
     */
    private Integer oId;

    /**
     * 订单编号
     */
    private String oNo;

    /**
     * 订单状态：0、未付款；1、已付款；2、已超时；
     */
    private Integer oState;

    /**
     * 收货人姓名
     */
    private String oName;

    /**
     * 收货人电话
     */
    private String oPhone;

    /**
     * 发飘状态：0、无发票；1、有发票；
     */
    private Integer oInvoiceState;

    /**
     * 花型编号
     */
    private String oPatternNo;

    /**
     * 花型图片（当右边使用xxxxxx）
     */
    private String oPatternImg;

    /**
     * 花型尺寸
     */
    private Integer oPatternSize;

    /**
     * 花型价格
     */
    private BigDecimal oPatternPrice;

    /**
     * 面料编号 （当付款时间用）
     */
    private String oFabricNo;

    /**
     * 面料图片
     */
    private String oFabricImg;

    /**
     * 面料尺寸
     */
    private Integer oFabricSize;

    /**
     * 面料价格
     */
    private BigDecimal oFabricPrice;

    /**
     * 买断价格
     */
    private BigDecimal oBuyoutPrice;

    /**
     * 分类：0、印花；1、买断；2、成品；3、面料；
     */
    private Integer oType;

    /**
     * 订单总价
     */
    private BigDecimal oTotalPrice;

    /**
     * 关联的会员表主键ID
     */
    private Integer mId;

    /**
     * 收货地址
     */
    private String oAddress;

    /**
     * 收货详细地址
     */
    private String oAddressInfo;

    /**
     * 发票编号
     */
    private String oInvoice;
    /**
     * 下单时间
     */
    private Date oCreatTime;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.O_ID
     *
     * @return the value of orders.O_ID
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public Integer getoId() {
        return oId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.O_ID
     *
     * @param oId the value for orders.O_ID
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public void setoId(Integer oId) {
        this.oId = oId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.O_NO
     *
     * @return the value of orders.O_NO
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public String getoNo() {
        return oNo;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.O_NO
     *
     * @param oNo the value for orders.O_NO
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public void setoNo(String oNo) {
        this.oNo = oNo == null ? null : oNo.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.O_STATE
     *
     * @return the value of orders.O_STATE
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public Integer getoState() {
        return oState;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.O_STATE
     *
     * @param oState the value for orders.O_STATE
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public void setoState(Integer oState) {
        this.oState = oState;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.O_NAME
     *
     * @return the value of orders.O_NAME
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public String getoName() {
        return oName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.O_NAME
     *
     * @param oName the value for orders.O_NAME
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public void setoName(String oName) {
        this.oName = oName == null ? null : oName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.O_PHONE
     *
     * @return the value of orders.O_PHONE
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public String getoPhone() {
        return oPhone;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.O_PHONE
     *
     * @param oPhone the value for orders.O_PHONE
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public void setoPhone(String oPhone) {
        this.oPhone = oPhone == null ? null : oPhone.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.O_INVOICE_STATE
     *
     * @return the value of orders.O_INVOICE_STATE
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public Integer getoInvoiceState() {
        return oInvoiceState;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.O_INVOICE_STATE
     *
     * @param oInvoiceState the value for orders.O_INVOICE_STATE
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public void setoInvoiceState(Integer oInvoiceState) {
        this.oInvoiceState = oInvoiceState;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.O_PATTERN_NO
     *
     * @return the value of orders.O_PATTERN_NO
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public String getoPatternNo() {
        return oPatternNo;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.O_PATTERN_NO
     *
     * @param oPatternNo the value for orders.O_PATTERN_NO
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public void setoPatternNo(String oPatternNo) {
        this.oPatternNo = oPatternNo == null ? null : oPatternNo.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.O_PATTERN_IMG
     *
     * @return the value of orders.O_PATTERN_IMG
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public String getoPatternImg() {
        return oPatternImg;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.O_PATTERN_IMG
     *
     * @param oPatternImg the value for orders.O_PATTERN_IMG
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public void setoPatternImg(String oPatternImg) {
        this.oPatternImg = oPatternImg == null ? null : oPatternImg.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.O_PATTERN_SIZE
     *
     * @return the value of orders.O_PATTERN_SIZE
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public Integer getoPatternSize() {
        return oPatternSize;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.O_PATTERN_SIZE
     *
     * @param oPatternSize the value for orders.O_PATTERN_SIZE
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public void setoPatternSize(Integer oPatternSize) {
        this.oPatternSize = oPatternSize;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.O_PATTERN_PRICE
     *
     * @return the value of orders.O_PATTERN_PRICE
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public BigDecimal getoPatternPrice() {
        return oPatternPrice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.O_PATTERN_PRICE
     *
     * @param oPatternPrice the value for orders.O_PATTERN_PRICE
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public void setoPatternPrice(BigDecimal oPatternPrice) {
        this.oPatternPrice = oPatternPrice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.O_FABRIC_NO
     *
     * @return the value of orders.O_FABRIC_NO
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public String getoFabricNo() {
        return oFabricNo;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.O_FABRIC_NO
     *
     * @param oFabricNo the value for orders.O_FABRIC_NO
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public void setoFabricNo(String oFabricNo) {
        this.oFabricNo = oFabricNo == null ? null : oFabricNo.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.O_FABRIC_IMG
     *
     * @return the value of orders.O_FABRIC_IMG
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public String getoFabricImg() {
        return oFabricImg;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.O_FABRIC_IMG
     *
     * @param oFabricImg the value for orders.O_FABRIC_IMG
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public void setoFabricImg(String oFabricImg) {
        this.oFabricImg = oFabricImg == null ? null : oFabricImg.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.O_FABRIC_SIZE
     *
     * @return the value of orders.O_FABRIC_SIZE
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public Integer getoFabricSize() {
        return oFabricSize;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.O_FABRIC_SIZE
     *
     * @param oFabricSize the value for orders.O_FABRIC_SIZE
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public void setoFabricSize(Integer oFabricSize) {
        this.oFabricSize = oFabricSize;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.O_FABRIC_PRICE
     *
     * @return the value of orders.O_FABRIC_PRICE
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public BigDecimal getoFabricPrice() {
        return oFabricPrice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.O_FABRIC_PRICE
     *
     * @param oFabricPrice the value for orders.O_FABRIC_PRICE
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public void setoFabricPrice(BigDecimal oFabricPrice) {
        this.oFabricPrice = oFabricPrice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.O_BUYOUT_PRICE
     *
     * @return the value of orders.O_BUYOUT_PRICE
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public BigDecimal getoBuyoutPrice() {
        return oBuyoutPrice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.O_BUYOUT_PRICE
     *
     * @param oBuyoutPrice the value for orders.O_BUYOUT_PRICE
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public void setoBuyoutPrice(BigDecimal oBuyoutPrice) {
        this.oBuyoutPrice = oBuyoutPrice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.O_TYPE
     *
     * @return the value of orders.O_TYPE
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public Integer getoType() {
        return oType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.O_TYPE
     *
     * @param oType the value for orders.O_TYPE
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public void setoType(Integer oType) {
        this.oType = oType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.O_TOTAL_PRICE
     *
     * @return the value of orders.O_TOTAL_PRICE
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public BigDecimal getoTotalPrice() {
        return oTotalPrice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.O_TOTAL_PRICE
     *
     * @param oTotalPrice the value for orders.O_TOTAL_PRICE
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public void setoTotalPrice(BigDecimal oTotalPrice) {
        this.oTotalPrice = oTotalPrice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.M_ID
     *
     * @return the value of orders.M_ID
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public Integer getmId() {
        return mId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.M_ID
     *
     * @param mId the value for orders.M_ID
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public void setmId(Integer mId) {
        this.mId = mId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.O_ADDRESS
     *
     * @return the value of orders.O_ADDRESS
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public String getoAddress() {
        return oAddress;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.O_ADDRESS
     *
     * @param oAddress the value for orders.O_ADDRESS
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public void setoAddress(String oAddress) {
        this.oAddress = oAddress == null ? null : oAddress.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.O_ADDRESS_INFO
     *
     * @return the value of orders.O_ADDRESS_INFO
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public String getoAddressInfo() {
        return oAddressInfo;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.O_ADDRESS_INFO
     *
     * @param oAddressInfo the value for orders.O_ADDRESS_INFO
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public void setoAddressInfo(String oAddressInfo) {
        this.oAddressInfo = oAddressInfo == null ? null : oAddressInfo.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.O_INVOICE
     *
     * @return the value of orders.O_INVOICE
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public String getoInvoice() {
        return oInvoice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.O_INVOICE
     *
     * @param oInvoice the value for orders.O_INVOICE
     *
     * @mbggenerated Sat Aug 06 08:43:12 CST 2016
     */
    public void setoInvoice(String oInvoice) {
        this.oInvoice = oInvoice == null ? null : oInvoice.trim();
    }

	public Date getoCreatTime() {
		return oCreatTime;
	}

	public void setoCreatTime(Date oCreatTime) {
		this.oCreatTime = oCreatTime;
	}
}